package pl.lodz.p.pai.invoice.db;

import java.util.List;
import java.util.Map;

import javax.xml.datatype.XMLGregorianCalendar;

import pl.lodz.p.pai.invoice.bean.AddInvoiceStatusBean;
import pl.lodz.p.pai.invoice.types.Invoice;

public interface InvoiceDao {

	public Invoice getInvoice(String id) throws Exception;

	public List<Invoice> getInvoiceByDate(XMLGregorianCalendar startDate, XMLGregorianCalendar endDate) throws Exception;

	public List<Invoice> getInvoiceByCustomer(String customerId) throws Exception;

	public AddInvoiceStatusBean addInvoice(Invoice invoice) throws Exception;
	
}
